$OpenBSD: patch-tests_testlib_lua,v 1.1.1.1 2016/01/23 19:15:13 landry Exp $
--- tests/testlib.lua.orig	Sat Jan 23 18:42:55 2016
+++ tests/testlib.lua	Sat Jan 23 18:43:08 2016
@@ -26,7 +26,7 @@ cwriteln('random seed: ', seed)
 -- @returns the name of the directory
 --
 function mktempd()
-	local f = io.popen('mktemp -td ltest.XXX', 'r')
+	local f = io.popen('mktemp -td ltest.XXXXXXXX', 'r')
 	local s = f:read('*a')
 	f:close()
 	s = s:gsub('[\n\r]+', ' ')
